namespace Table.DataModel
{
    public class TableSceneNpc
    {
        /// <summary>
        ///NPCID
        /// </summary>
        public int id;
        /// <summary>
        ///所属场景ID
        /// </summary>
        public int sceneId;
        /// <summary>
        ///场景编辑ID
        /// </summary>
        public int positionId;
        /// <summary>
        ///NPC名字
        /// </summary>
        public string name;
        /// <summary>
        ///外形ID
        /// </summary>
        public int modelId;
        /// <summary>
        ///缩放
        /// </summary>
        public double modelScale;
        /// <summary>
        ///是否在屋子内
        /// </summary>
        public int inHouse;
        /// <summary>
        ///默认动画名称
        /// </summary>
        public string defaultAniName;
        /// <summary>
        ///默认对话表情
        /// </summary>
        public string defaultDialogFaceAniName;
        /// <summary>
        ///动画名称列表
        /// </summary>
        public string animNames;
        /// <summary>
        ///默认对话
        /// </summary>
        public string defaultDialog;
        /// <summary>
        ///默认回复
        /// </summary>
        public string defaultReply;
        /// <summary>
        ///NPC出生方向X
        /// </summary>
        public double directionX;
        /// <summary>
        ///NPC出生方向Z
        /// </summary>
        public double directionZ;
        /// <summary>
        ///是否可移动
        /// </summary>
        public int canMove;
        /// <summary>
        ///是否可改朝向
        /// </summary>
        public int canRotate;
        /// <summary>
        ///头像ID
        /// </summary>
        public string iconId;
        /// <summary>
        ///类别
        /// </summary>
        public int type;
        /// <summary>
        ///是否是客户端创建的NPC
        /// </summary>
        public int isTaskNpc;
        /// <summary>
        ///是否在地图上显示
        /// </summary>
        public int showOnMap;
        /// <summary>
        ///点击事件(对应SceneEvent表)
        /// </summary>
        public string clickEvent;
        /// <summary>
        ///点击事件参数
        /// </summary>
        public string eventArgs;
        /// <summary>
        ///碰撞参数
        /// </summary>
        public string colliderArgs;
        /// <summary>
        ///Npc位置x轴偏移量
        /// </summary>
        public float seekOffsetX;
        /// <summary>
        ///Npc位置z轴偏移量
        /// </summary>
        public float seekOffsetZ;
        /// <summary>
        ///Npc模型偏移
        /// </summary>
        public float[] modelOffset;
        /// <summary>
        ///NPC身上特效
        /// </summary>
        public int[] ParticleIds;
        /// <summary>
        ///NPC特效参数
        /// </summary>
        public string[] ParticleArgs;
        /// <summary>
        ///是否永远显示（默认0,表示受距离控制）
        /// </summary>
        public int isAlwaysShow;
    }
}
